package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LiveDieState;
import com.study.manage.domain.enumm.RelationshipAgree;
import com.study.manage.domain.enumm.RelationshipType;

@Entity
@Table(name = "sa_relationship")
public class Relationship extends AbstractEntity {

    private static final long serialVersionUID = -648475942654818648L;
    public Long friendId;
    public Long userId;
    public LiveDieState state;
    @Column(name = "typee")
    public RelationshipType type;
    public RelationshipAgree agree;


    public Relationship() {
        super();
    }

    public Relationship(Long id) {
        this.id = id;
    }

}
